#include<iostream>
using namespace std;
#include"Mymap.h"
#include"Myset.h"

void testMyset()
{
	set<int> s;
	s.insert(6);
	s.insert(2);
	s.insert(7);
	s.insert(5);
	s.insert(1);

}
void testMymap()
{
	map<int, int> mp;
	mp.insert(std::make_pair(1, 1));
	mp.insert(std::make_pair(5, 5));
	mp.insert(std::make_pair(2, 2));
	mp.insert(std::make_pair(8, 8));
	mp[20];
	mp[20] = 20;
	mp[8] = 10;
	map<int,int>::iterator it = mp.begin();
	while (it != mp.end())
	{
		cout << it->first<<":" << it->second << endl;
		++it;
	}
	std::cout << std::endl;
}
int main()
{
	testMyset();
	testMymap();
	return 0;
}